vr2-4-18.wrl


[ VRML source code ]

#VRML V2.0 utf8
#vr2-4-18.wrl
#sky
Background {
  skyColor [
    0.0 0.0 0.1,
    0.1 0.1 0.2,
    0.1 0.1 0.3,
    0.1 0.1 0.4,
    0.2 0.2 0.5,
    0.2 0.2 0.6,
    0.2 0.2 0.7
  ]
  skyAngle[0.3, 0.6, 0.9, 1.2, 1.5, 1.57]
  groundColor [
    0.0 0.1 0.0,
    0.1 0.2 0.1,
    0.1 0.3 0.1,
    0.1 0.4 0.1,
    0.2 0.5 0.2,
    0.2 0.6 0.2,
    0.2 0.7 0.2
  ]
  groundAngle[0.3, 0.6, 0.9, 1.2, 1.5, 1.57]
}
    
#saturn
Transform {
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 0.8 0.5
      }
    }
    geometry Sphere {
      radius 10
    }
  }
}
#ring
Transform {
  scale 1 0.01 1
  children DEF Needle Shape {
    appearance Appearance {
      material Material {
        diffuseColor 1 1 0
      }
    }
    geometry Sphere {
      radius 25
    }
  }
}